﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WXY.Course.BLL;

namespace WXY.Course.Web.Controllers
{
    public class MenuController : Controller
    {
        private MenuBLL _menuBLL = new MenuBLL();

        [ChildActionOnly]
        public ActionResult List()
        {
            var menuList = _menuBLL.GetList();
            return View(menuList);
        }
    }
}
